<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import="custom.*, java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%	// get list of specialization
	Vector sp = support.getSpecializations();
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Specialization</title>
</head>
<body>
Please choose your specialization: <br>
<form action="verify.jsp">
<select name="specializationId">
<%	Iterator it = sp.iterator();
    it.next();
	String spName;
	int spId = 1;
	// iterate through the specialization vector and list them in a drop-down box
	while (it.hasNext()) {
		spName = (String)it.next();
%>
<option value="<%= spId++ %>"> <%= spName %> </option>
<% } %>
</select>
<input type="submit" value= "Submit" />
</form>
</body>
</html>
